PDF4Java Reference Documentation
com.o2sol.pdf4java Package / PDFPage Class / getPageSize Method
In This Topic
    getPageSize Method
    In This Topic
    Gets the PDF page size to a predefined value.
    The value returned by this property is matched against predefined page sizes within a certain margin () so the Width and Height properties of the returned object might not match the actual page Width and Height.
    Syntax
    public PDFPageSize getPageSize()

    Return Value

    A com.o2sol.pdf4java.document.PDFPageSize object that specifies a predefined page size.
    See Also